package com.wanmait.happyheating;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.wanmait.happyheating.mapper")
@ServletComponentScan//监听器 过滤器 servlet起作用 @WebListener @WebFilter @WebServlet
@EnableAsync
public class HappyheatingApplication {

    public static void main(String[] args) {
        SpringApplication.run(HappyheatingApplication.class, args);
    }

}
